<script setup lang="ts">
import { RouterView } from 'vue-router'
import { inject, ref } from 'vue'

// 获取 stagewise 配置
const stagewiseConfig = inject('stagewiseConfig', null)
// 确定是否为开发环境
const isDev = ref(import.meta.env.DEV)
</script>

<template>
  <RouterView />
  <StagewiseToolbar v-if="isDev" :config="stagewiseConfig" />
</template>


<style scoped></style>
